{# Voice > Profiles (overseer_ai_voice): every voice profile at a glance, each to hear, edit or put in use, and a new one made from the active one; or, opened, one profile's editor (``_voice_editor.html``). #} {% if editing %}{% include "pages/overseer/ai/_voice_editor.html" %}{% else %} {% from "components/macros/chat.html" import speak_button %} {% from "components/macros/form.html" import primary_button %} {% from "components/macros/table.html" import data_table %} {% macro in_use(p) -%} {% if p.active %}In use{% else %}{% endif %} {%- endmacro %} {% macro hear_or_edit(p) -%} {{ speak_button(p.listen, "align-middle text-aegis-muted hover:text-aegis-text") }} Edit {%- endmacro %} {% set columns = [ {"key": "name", "label": "Profile"}, {"key": "voice", "label": "Voice"}, {"key": "style", "label": "Style"}, {"key": "speed", "label": "Speed", "align": "right"}, {"key": "active", "label": "", "render": in_use, "row": True}, ] %}